package top.anhanx.alipay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.anhanx.alipay.domain.AliPayInfo;
import top.anhanx.alipay.pay.service.AlipayService;
import top.anhanx.alipay.service.PayService;

/**
 * @author FF
 */
@Service
public class PayServiceImpl implements PayService {

    @Autowired
    private AlipayService alipayService;

    @Override
    public String aliPay(AliPayInfo aliPayInfo) {
        return alipayService.pay(aliPayInfo);
    }

}
